package com.etxxy.common;

import java.io.Serializable;

/**
 * @category 服务接口返回
 * 
 * @author yiz
 * @date 2016年5月12日 上午10:28:44
 * @version 1.0.0 
 * @copyright pycredit.cn
 */
public class ServiceResponse<T extends Serializable> implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 8109726310462521027L;
	private T data;

	private String code;

	private String msg;

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
